package com.acorn.community.web.probe;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiOperationSupport;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 探活方法
 *
 * @author tianshiwei
 */
@Slf4j
@RestController
@Api(value = "探活接口", tags = "0.探活接口")
public class HealthCheckController {


    @ApiOperationSupport(order = 1)
    @ApiOperation(value = "1.探活接口", notes = "探活接口")
    @GetMapping("/alive")
    public String alive() {
        return "UP";
    }

}
